<template>
  <div class="test-container">
    <div class="item" v-for="t in types" :key="t">
      <Icon :type="t" />
    </div>
  </div>
</template>

<script>
import Icon, { types } from './';
export default {
  name: 'App',
  components: {
    Icon,
  },
  data() {
    return {
      types,
    }
  },
}
</script>

<style lang="less" scoped>
.iconfont {
  font-size: 26px;
  color: red;
}
.test-container {
  display: flex;
  justify-content: center;
  margin: 30px auto;
  width: 580px;
}
</style>